package com.shisfish.library.Model;

import java.util.ArrayList;
import java.util.List;

import com.shisfish.core.Model.Model;

public class User extends Model {
	
	private int id;
	private String employee;
	private String username;
	private String department;
	private String util;
	private String company;
	private String address;
	private String qq;
	private String wechat;
	private String email;
	private String mobile_phone;
	private String phone;
	private int sex;
	private int age;
	private String birthday;
	private String loanid;
	private String password;
	private String ran;
	private int level;
	private int record;
	private String userId;
	
	private UserLevel userLevel;
	
	private UserSingleLend userSingleLend;
	
	private List<BookLend> bookLends = new ArrayList<BookLend>();
	
	public User() {
		super();
	}
	
	public User(String employee, String username, String department,
			String util, String company, String address, String qq,
			String wechat, String email, String mobile_phone, String phone,
			int sex, int age, String birthday, String loanid, 
			String password, String ran, int level, int record, String userId) {
		super();
		this.employee = employee;
		this.username = username;
		this.department = department;
		this.util = util;
		this.company = company;
		this.address = address;
		this.qq = qq;
		this.wechat = wechat;
		this.email = email;
		this.mobile_phone = mobile_phone;
		this.phone = phone;
		this.sex = sex;
		this.age = age;
		this.birthday = birthday;
		this.loanid = loanid;
		this.password = password;
		this.ran = ran;
		this.level = level;
		this.record = record;
		this.userId = userId;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getEmployee() {
		return employee;
	}
	public void setEmployee(String employee) {
		this.employee = employee;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public String getUtil() {
		return util;
	}
	public void setUtil(String util) {
		this.util = util;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public String getWechat() {
		return wechat;
	}
	public void setWechat(String wechat) {
		this.wechat = wechat;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getMobile_phone() {
		return mobile_phone;
	}
	public void setMobile_phone(String mobile_phone) {
		this.mobile_phone = mobile_phone;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getLoanid() {
		return loanid;
	}

	public void setLoanid(String loanid) {
		this.loanid = loanid;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRan() {
		return ran;
	}

	public void setRan(String ran) {
		this.ran = ran;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getRecord() {
		return record;
	}

	public void setRecord(int record) {
		this.record = record;
	}

	public UserLevel getUserLevel() {
		return userLevel;
	}

	public void setUserLevel(UserLevel userLevel) {
		this.userLevel = userLevel;
	}

	public UserSingleLend getUserSingleLend() {
		return userSingleLend;
	}

	public void setUserSingleLend(UserSingleLend userSingleLend) {
		this.userSingleLend = userSingleLend;
	}

	public List<BookLend> getBookLends() {
		return bookLends;
	}

	public void setBookLends(List<BookLend> bookLends) {
		this.bookLends = bookLends;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	

}
